package com.zero.lite.dao.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zero
 * @since 2018-05-04
 */
@TableName("lite_brand")
public class Brand extends Model<Brand> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private String name;
	@TableField("list_pic_url")
	private String listPicUrl;
	@TableField("simple_desc")
	private String simpleDesc;
	@TableField("pic_url")
	private String picUrl;
	@TableField("sort_order")
	private Integer sortOrder;
	@TableField("is_show")
	private Integer isShow;
	@TableField("floor_price")
	private BigDecimal floorPrice;
	@TableField("app_list_pic_url")
	private String appListPicUrl;
	@TableField("is_new")
	private Integer isNew;
	@TableField("new_pic_url")
	private String newPicUrl;
	@TableField("new_sort_order")
	private Integer newSortOrder;
	@TableField("add_time")
	private LocalDateTime addTime;
	private Integer deleted;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getListPicUrl() {
		return listPicUrl;
	}

	public void setListPicUrl(String listPicUrl) {
		this.listPicUrl = listPicUrl;
	}

	public String getSimpleDesc() {
		return simpleDesc;
	}

	public void setSimpleDesc(String simpleDesc) {
		this.simpleDesc = simpleDesc;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public Integer getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	public BigDecimal getFloorPrice() {
		return floorPrice;
	}

	public void setFloorPrice(BigDecimal floorPrice) {
		this.floorPrice = floorPrice;
	}

	public String getAppListPicUrl() {
		return appListPicUrl;
	}

	public void setAppListPicUrl(String appListPicUrl) {
		this.appListPicUrl = appListPicUrl;
	}

	public Integer getIsNew() {
		return isNew;
	}

	public void setIsNew(Integer isNew) {
		this.isNew = isNew;
	}

	public String getNewPicUrl() {
		return newPicUrl;
	}

	public void setNewPicUrl(String newPicUrl) {
		this.newPicUrl = newPicUrl;
	}

	public Integer getNewSortOrder() {
		return newSortOrder;
	}

	public void setNewSortOrder(Integer newSortOrder) {
		this.newSortOrder = newSortOrder;
	}

	public LocalDateTime getAddTime() {
		return addTime;
	}

	public void setAddTime(LocalDateTime addTime) {
		this.addTime = addTime;
	}

	public Integer getDeleted() {
		return deleted;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Brand{" +
			"id=" + id +
			", name=" + name +
			", listPicUrl=" + listPicUrl +
			", simpleDesc=" + simpleDesc +
			", picUrl=" + picUrl +
			", sortOrder=" + sortOrder +
			", isShow=" + isShow +
			", floorPrice=" + floorPrice +
			", appListPicUrl=" + appListPicUrl +
			", isNew=" + isNew +
			", newPicUrl=" + newPicUrl +
			", newSortOrder=" + newSortOrder +
			", addTime=" + addTime +
			", deleted=" + deleted +
			"}";
	}
}
